// --仿京东购物车模拟数据
export const carts = {
  "code": 200,
  "message": "success",
  "data": {
    "cartItems": [
      {
        "itemId": "100001",
        "skuId": "100001001",
        "spuId": "100001",
        "shopId": "2001",
        "shopName": "京东自营旗舰店",
        "shopLogo": "https://example.com/shop1.jpg",
        "productId": "3001",
        "productName": "Apple iPhone 15 Pro 5G手机",
        "productImage": "https://example.com/iphone15.jpg",
        "specifications": "深空黑色 256GB",
        "price": 8999.00,
        "originalPrice": 9999.00,
        "quantity": 1,
        "stock": 50,
        "limitQuantity": 5,
        "selected": true,
        "available": true,
        "weight": 0.187,
        "tags": ["自营", "百亿补贴", "免息"],
        "gifts": [
          {
            "giftName": "原装充电器",
            "giftQuantity": 1
          }
        ],
        "promotions": [
          {
            "promotionId": "promo001",
            "promotionName": "满1000减100",
            "promotionType": 1
          }
        ]
      },
      {
        "itemId": "100002",
        "skuId": "100002001",
        "spuId": "100002",
        "shopId": "2002",
        "shopName": "小米官方旗舰店",
        "shopLogo": "https://example.com/shop2.jpg",
        "productId": "3002",
        "productName": "小米14 5G手机",
        "productImage": "https://example.com/xiaomi14.jpg",
        "specifications": "白色 512GB",
        "price": 4999.00,
        "originalPrice": 5299.00,
        "quantity": 2,
        "stock": 100,
        "limitQuantity": 10,
        "selected": true,
        "available": true,
        "weight": 0.193,
        "tags": ["官方正品", "限时优惠"],
        "gifts": [],
        "promotions": []
      }
    ],
    "summary": {
      "totalQuantity": 3,
      "selectedQuantity": 3,
      "totalPrice": 18997.00,
      "totalDiscount": 1300.00,
      "finalPrice": 17697.00,
      "totalWeight": 0.573,
      "selectedItems": [
        "100001",
        "100002"
      ]
    },
    "groupedByShop": {
      "2001": {
        "shopName": "京东自营旗舰店",
        "shopSelected": true,
        "items": ["100001"],
        "shopTotalPrice": 8999.00,
        "shopDiscount": 1000.00
      },
      "2002": {
        "shopName": "小米官方旗舰店",
        "shopSelected": true,
        "items": ["100002"],
        "shopTotalPrice": 9998.00,
        "shopDiscount": 300.00
      }
    },
    "promotionInfo": {
      "availablePromotions": [
        {
          "promotionId": "promo001",
          "title": "满1000减100",
          "description": "满1000元立减100元",
          "type": "discount",
          "threshold": 1000,
          "discount": 100
        },
        {
          "promotionId": "promo002",
          "title": "多买优惠",
          "description": "买2件享9折优惠",
          "type": "quantity_discount",
          "threshold": 2,
          "discountRate": 0.9
        }
      ],
      "appliedPromotions": ["promo001"]
    }
  }
}